// 提供首页相关接口
import request from '../utils/request'
// limit 品牌个数 6
export const findBrand = (limit = 6) => {
  return request('/home/brand', 'get', { limit })
}
/**
 * 获取广告区轮播图
 */
export const findBanner = () => {
  return request('/home/banner', 'get')
}
/**
 * 获取好货推荐接口
 */
export const findNew = (limit = 6) => {
  return request('/home/new', 'get', { limit })
}
/**
 * 首页-人气推荐
 * @param {*} 无请求参数
 * @returns
 */
export const findHot = (limit = 6) => {
  return request('/home/hot', 'get', { limit })
}
/**
 * 商品板块      home-good
 * @param {*} 无请求参数
 * @returns
 */
export const findSpecial = (limit = 6) => {
  return request('/home/special', 'get', { limit })
}
